package com.zh.work.entity.branch;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("系统银行信息")
@Data
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemBank extends Model<SystemBank> {

  private static final long serialVersionUID = -6738955948207222003L;
  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "银行代码", name = "bankCode")
  private String bankCode;
  @ApiModelProperty(value = "银行名称", name = "bankName")
  private String bankName;
  @ApiModelProperty(value = "1-开户行 2-清算行", name = "bankType")
  private Integer bankType;
  @ApiModelProperty(value = "清算行代码", name = "clearBankCode")
  private String clearBankCode;
  @ApiModelProperty(value = "省份", name = "province")
  private String province;
  @ApiModelProperty(value = "城市", name = "city")
  private String city;

}
